package jm.nj.demo07main.demo04;
/*
* 测试自定义含有泛型的接口
* */
public class Demo04Generic {
    public static void main(String[] args) {
        GenercInterImpl1<String> gii1 = new GenercInterImpl1<String>();
        gii1.show("hello");

        GenercInterImpl2 gii2 = new GenercInterImpl2();
        gii2.show("world");//只能是String类型
    }
}
